package com.wn.demo05;

/**
 * @author yellow Docter
 * @date 2024 -06-17
 * @desc
 */
public class SalesPerson {

    private Employee employee;
    private String address;
    private String year;

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public SalesPerson(){}

    public SalesPerson(Employee employee, String address, String year) {
        this.employee = employee;
        this.address = address;
        this.year = year;
    }
}
